package com.example.furniture.mapper;

import com.example.furniture.entity.Furniture;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FurnitureMapper {
    Furniture selectById(@Param("id") Long id);
    List<Furniture> selectAll();
    int insert(Furniture furniture);
    int update(Furniture furniture);
    int deleteById(@Param("id") Long id);
}


